/* .vitepress/theme/custom.css */

/* 疑似bug， --vp-c-brand拼写错误 */
.algolia [command-item][aria-selected='true'],
.algolia [command-item]:hover {
  background: var(--vp-c-brand);
}


.uniapp-demo-box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /* 会影响搜索框样式，具体原因未知 */
  /* height: 560px; */
}

.uniapp-demo-box div:first-child {
  margin: 0 8px 0 0;
  /*min-width: 400px;*/
  flex: 1;
}

.uniapp-demo-box pre {
  height: 100%;
}



/* .VPNavBarSearch {
  display: flex;
  align-items: center;
  padding-left: 40px;
  flex: 1;
}

.DocSearch-Button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: transparent;
  transition: border-color 0.25s;
}

@media (min-width: 768px) {
  .DocSearch-Button {
    justify-content: flex-start;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0 10px 0 12px;
    width: 100%;
    height: 40px;
    background-color: var(--vp-c-bg-alt);
  }
}

@media (max-width: 768px) {
  .DocSearch-Button-Keys {
    display: none;
  }

  .VPNavBarHamburger {
    height: 32px !important;
    width: 32px !important;
    border-radius: 4px;
  }
}

.DocSearch-Button:hover {
  background-color: #f5f5f6;
} */

/* 侧边导航栏文字 被 antd 样式干扰 */
.VPLink.link.link p {
  padding: 0;
  margin-bottom: 0.5em;
}